package com.sdb.patientinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdb.common.annotation.Excel;
import com.sdb.common.core.domain.BaseEntity;

/**
 * 病人详细信息对象 td_patientinfo
 * 
 * @author yyh
 * @date 2025-01-24
 */
public class TdPatientinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病人id */
    private Long patientId;

    /** 就诊卡号 */
    private String cardId;

    /** 病人姓名 */
    private String patientName;

    /** 病人性别 */
    private String patientSex;

    /** 年龄 */
    private String age;

    /** 证件号码 */
    private String number;

    /** 电话 */
    private String phone;

    /** 出生日期***** */
    private Date birthday;

    /** 联系人姓名 */
    private String familyName;

    /** 联系人电话 */
    private String familyPhone;

    /** 地址 */
    private String address;

    private Date createdate;

    private String maindiagnosis;

    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPatientSex(String patientSex) 
    {
        this.patientSex = patientSex;
    }

    public String getPatientSex() 
    {
        return patientSex;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setFamilyName(String familyName) 
    {
        this.familyName = familyName;
    }

    public String getFamilyName() 
    {
        return familyName;
    }
    public void setFamilyPhone(String familyPhone) 
    {
        this.familyPhone = familyPhone;
    }

    public String getFamilyPhone() 
    {
        return familyPhone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getMaindiagnosis() {
        return maindiagnosis;
    }

    public void setMaindiagnosis(String maindiagnosis) {
        this.maindiagnosis = maindiagnosis;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("cardId", getCardId())
            .append("patientName", getPatientName())
            .append("patientSex", getPatientSex())
            .append("age", getAge())
            .append("number", getNumber())
            .append("phone", getPhone())
            .append("birthday", getBirthday())
            .append("familyName", getFamilyName())
            .append("familyPhone", getFamilyPhone())
            .append("address", getAddress())
                .append("createdate", getCreatedate())
                .append("maindiagnosis", getMaindiagnosis())
            .toString();
    }
}
